package com.ling;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * 添加EnableDiscoveryClient将服务注册到配置指定的服务注册server
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients
public class XXXServiceApplication {
	public static void main(String[] args) {
		SpringApplication.run(XXXServiceApplication.class, args);
	}
}
